import React, { Component } from 'react';
import { Table } from 'antd';
import {onTableDatas} from '@/utils/utils';
export default class Tablecontent extends Component {
    render() {
        const { columns,tableData } = this.props;
        return (
            <div style={{padding:'20px'}}>
                <Table
                    columns={columns}
                    dataSource={onTableDatas(tableData)}
                    pagination={false}
                    rowKey={record => record}
                />
            </div>
        )
    }
}